<template>
  <view class="state-page">
    <view class="margin-larger-xxl">
      <u-empty :mode="mode" :text="title" 
      :icon="TooL.Core.SetImgLink('/static/images/state/state_no_notiy.png')"></u-empty>
    </view>

    <u-text @click="logout" text="退出登录" align="center" type="info"></u-text>

  </view>
</template>
<script>
export default {
  components: {},
  data() {
    return {
      mode: "date",
      title: "状态",
    };
  },
  onLoad: function (option) {
    this.title = option.title;
    this.data = option.data;
  },
  methods: {
    logout() {
      this.$store.dispatch("user/logout", { isReLaunch: true });
    }
  }
};
</script>
<style lang='scss' scoped></style>
